<template>
    <div>

    </div>
</template>

<script>
    import axios from 'axios'
    export default {
        name: "orderDetail",
        data(){
            return{
                orderId:this.$route.query.orderId
            }
        },
        mounted() {
            this.getOrderData()
        },
        methods:{
            getOrderData(){
                let mydata = {
                    orderId:this.orderId
                }
                axios.post('/viewDetailedOrders',mydata).then((res)=>{
                    console.log(res)
                })
            }
        }
    }
</script>

<style scoped>

</style>
